<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><%=title %></title>
</head>
<link rel="stylesheet" href="stylesheets/font-awesome.min.css">
<link rel="stylesheet" href="stylesheets/reset.css">
<link rel="stylesheet" href="stylesheets/bootstrap.css">
<link rel="stylesheet" href="stylesheets/main.css">
<link rel="stylesheet" href="stylesheets/sign.css">
<style>
</style>
<body>
	<%- include header -%>
	<div class="common-content signup-content clearfix">
	 <div class="container">
		<div class="main-content">
			<p class="common-href"><a href="/index">主页 </a> /  注册</p>

<div class="regist-form">
	<div class="row ">
		<form action="/signin" class="form-horizontal" id="regist_form" method="POST">
			<div class="form-group">
				<label for="input_username" class="col-sm-2 control-label">用户名:</label>
				<div class="col-sm-4 input-area">
				<input type="text" id="input_username" class="form-control col-sm-2"  name="user[username]" >
				<i class="fa status-icon"></i>
				</div>
				<div class="col-sm-6">
				<p id="input_username_error" class="content-error"></p>
				</div>
			</div>
			<div class="form-group">
				<label for="input_password" class="col-sm-2 control-label">密码:</label>
				<div class="col-sm-4 input-area">
				<input type="password" id="input_password" class="form-control col-sm-2" name="user[password]" >
				<i class="fa  status-icon"></i>
				</div>
				<div class="col-sm-6">
				<p id="input_password_error" class="content-error"></p>
				</div>
			</div>
			<div class="form-group">
				<label for="input_confirmpassword" class="col-sm-2 control-label">确认密码:</label>
				<div class="col-sm-4 input-area">
				<input type="password" id="input_confirmpassword" class="form-control col-sm-2" name="user[confirmPassword]">
				<i class="fa status-icon"></i>
				</div>
				<div class="col-sm-6">
				<p id="input_confirmpassword_error" class="content-error"></p>
				</div>
			</div>
			<div class="form-group">
				<label for="input_email" class="col-sm-2 control-label">邮箱:</label>
				<div class="col-sm-4 input-area">
				<input type="text" id="input_email" class="form-control col-sm-2" name="user[email]">
				<i class="fa  status-icon"></i>
				</div>
				<div class="col-sm-6">
				<p id="input_email_error" class=" content-error"></p>
				</div>
			</div>
			<div class="form-group clearfix">
				<div class="col-sm-2">
				<button type="button" id="regist_button" class="btn btn-default btn-primary regist-button" disabled="true">注册</button>
				</div>
				<div class="col-sm-6">
				<p class="reg-msg"></p>
				</div>
			</div>
		</form>
		</div>
	</div>
</div>
	
	<div class="slide-content">
			<div class="about">
			<h3>关于</h3>
			<p>CNode: Node.js专业中文社区</p>
			<p>在这里你可以：</p>
			<ul>
				<li>向别人提出你遇到的问题</li>
				<li>帮助遇到问题的人</li>
				<li>分享自己的知识</li>
				<li>和他人一起进步</li>
			</ul>
			</div>
		</div>
	</div>

	</div>
		
	<%- include footer -%>
	<script src="js/jquery-1.11.1.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/util.js"></script>
	<script src="js/regist.js"></script>
	
</body>
</html>